There are several lines of code in the IO operation:while (line = Bufferedreader.readline ())!=null) { if (Line.length ()! = 0) { Stringbuilder.append (line+ "\ r \ n"); }}Here the line break "\ r \ n" fails, replacing it with "\ n" is
Use the vim editor and the vim editor.
I. Introduction
1. vim is a powerful text editor. If you are familiar with it, it will effectively help us improve the efficiency of editing text and programs. The vim editor has a relatively high threshold
Automatically add comments to add text information in vimTo do well, you must first sharpen your tools. In the development process, a convenient and quick development environment can improve work efficiency. A beautiful interface can make us feel
Automatically add comments in vim to add text information and vim commentsTo do well, you must first sharpen your tools. In the development process, a convenient and quick development environment can improve work efficiency. A beautiful interface
It took a long time to sort out and shared it easily.
My Vim configuration has the following advantages:
1. Press F5 to directly compile and execute C, C ++, Java code, and shell scripts. Press F8 to debug C and C ++ code.
2. the file header is
Vim configuration features:
1. Press F5 to directly compile and execute C, C ++, Java code, and shell scripts. Press F8 to debug C and C ++ code.
2. the file header is automatically inserted. When a C and C ++ source file is created, the header is
"/Etc/vim/vimrc is the configuration of all users ,~ /. Vimrc only affects a single user. /Usr/share/vim/vimrc is a hard link of/etc/vim/vimrc ($ ll/usr/share/vim/vimrc can be seen). Generally, only ~ /. Vimrc."Colors, plugins, and docs are all in
Vim configuration instructions
Vim is widely recognized as perfect, but it is not easy for new users to get started. In Windows, many programmers like the Source Insight tool to view the code. The syntax highlighting is very comfortable. Vim is an
Public void Test () throws exception{
File File = new file ("C:/test.log");
Randomaccessfile RF = new randomaccessfile (file, "RW");
long filelength = Rf.length ();
Move this pointer to the end of the text
Rf.seek (filelength);
Text file append text,
It took a long time to tidy up, feel very convenient to use, share.
My VIM configuration mainly has the following advantages:
1. Press F5 can directly compile and execute C, C + +, Java code and execute shell script, press "F8" can do C, C + + code
1. In the terminal use Vim for editing, by default, the editing interface is not displayed line number, syntax high-brightness display, intelligent indentation and other functions. In order to better work under VIM, you need to manually set a
Set
Description
Set IM
"Sets the mode to enter at startup
Set Magic
The Set Magic
ColorScheme Slate
The Set theme
Set Shortmess=ati
"When it starts, it doesn't
Vim installation Analysis
Vim Configuration
Http://linux-wiki.cn/wiki/zh-hans/%E7%94%A8Vim%E7%BC%96%E7%A8%8B%E2%80%94%E2%80%94%E9%85%8D%E7%BD% AE %E4%B8%8E%E6%8A%80%E5%B7%A7
Self-configured vim
Winpos 5 5 set lines = 30 columns = 100 set nuset go =
In linux, vim automatically inserts a file header in the c file.
"New. c ,. h ,. sh ,. java file, automatically Insert the file header autocmd BufNewFile *. cpp ,*. [ch], *. sh ,*. java exec ": call SetTitle ()" defines the function SetTitle, which
Reference from http://hi.baidu.com/wangyantsing/blog/item/19b2a8189fbc1b0134fa4157.html
Delete table from .OrDelete table with table key =... =.Delete a row of data in the internal table according to the condition.
Delete where .Delete multiple
I haven't studied encrypted websites yet. I don't know if I can capture them. Now I only want to capture webpage data for some unencrypted websites. At the beginning, I thought many websites could be crawled, but I found that many of them were
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.